Skip to content

Conversation

@ShadelessFox
Copy link
Contributor

@ShadelessFox ShadelessFox commented Jul 28, 2024

This is what FlatLaf does, as of now:
L20Y1lSWwM

It doesn't play well with non-contrast icons and ones that occupy the entire region they're painted on.

This is what I managed to achieve:
java_22QbtJQHAD

Also, note that now the entire check/radio icon is painted instead of just the knob part. I quite like how it looks.

This behavior is disabled by default and can be enabled by setting the property MenuItem.checkIconSeparated to true.

@ShadelessFox ShadelessFox force-pushed the menuitem-separate-check-and-icon branch 2 times, most recently from 7890578 to b1c3272 Compare April 14, 2025 17:56
@ShadelessFox ShadelessFox force-pushed the menuitem-separate-check-and-icon branch from b1c3272 to bf9203d Compare April 14, 2025 17:57
@ShadelessFox
Copy link
Contributor Author

@DevCharly please let me know what you think and if I should change anything :^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant